package truef.service.commodity.service.Impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import truef.commodity.dao.CommodityDao;
import truef.commodity.domain.Commodity;
import truef.service.commodity.service.CommodityManager;

@Service("commodityManager")
@Transactional
@Component
public class CommodityManagerImpl extends GenericManagerImpl<Commodity, Long> implements CommodityManager {
	CommodityDao commodityDao;

	@Autowired
	public void setCommodityDao(CommodityDao commodityDao) {
		this.commodityDao = commodityDao;
		this.dao = this.commodityDao;
	}


}
